<!DOCTYPE html>
<form id="textform">
	<input type="text">
</form>
<textarea form="testform"></textarea>

<form id="testform" action="serve.jsp">
	<input type="submit" name="s1" value="v1" formaction="s1.jsp"> Submit to S1
	<input type="submit" name="s2" value="v2" formaction="s2.jsp"> Submit to S2
	<input type="submit" name="s3" value="v3" formaction="s3.jsp"> Submit to S3
	<input type="submit" name="s4" value="v4" formaction="s4.jsp"> Submit to S4
</form>

<input type="text" placeholder="input me">
<input type="text" autofocus>